save async function as a string or in a data structure to gets its text to show on my browser